|
df (abbreviation for ''disk free'') is a standard Unix command used to display the amount of available disk space for file systems on which the invoking user has appropriate read access. df is implemented using the statfs or statvfs system calls.df first appeared in Version 1 AT&T UNIX. ==Usage== The Single UNIX Specification specifications for df are: df () () () () :-k ::Use 1024-byte units, instead of the default 512-byte units, when writing space figures. :-P ::Use a standard, portable, output format :-t ::If XSI compliant, show allocated space as well :-h ::Display in KB, MB, or GB :file ::Write the amount of free space of the file system containing the specified file Most Unix and Unix-like operating systems add extra options. The BSD and GNU coreutils versions include -h, where free space is listed in human readable format, adding units with the appropriate SI prefix (e.g. 10MB), -i, listing inode usage, and -l, restricting display to only local filesystems. GNU df includes -T as well, listing filesystem type information, but the GNU df shows the sizes in 1K blocks by default. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Df (Unix)」の詳細全文を読む スポンサード リンク
|